package com.szzg10.spring;

import org.springframework.context.support.ClassPathXmlApplicationContext;


public class Test {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");
		
		TestBean testBean = (TestBean)context.getBean("testBean");
		testBean.sayHello();
		
	}
}
